import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/page/Home'
import Friend from '@/page/Friend'
import Dongtai from '@/page/Dongtai'
import Setting from '@/page/Setting'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',component: Home},
    {path: '/friend',component: Friend},
    {path: '/dongtai',component: Dongtai},
    {path: '/setting',component: Setting},
  ]
})
